package com.tai.design.visitor;

/**
 * The interface Person.
 *
 * @version v1.0
 * @ClassName: Person
 * @Description: 抽象访问者角色类
 * @Author: taylor
 */
public interface Person {

    /**
     * Feed.
     *
     * @param cat the cat
     */
//喂食宠物猫
    void feed(Cat cat);

    /**
     * Feed.
     *
     * @param dog the dog
     */
//喂食宠物狗
    void feed(Dog dog);
}
